{% extends 'org-base.html' %}

{% block content %}
<div class="right companycenter layout grouping">
    <div class="head">
        <h1>全部课程</h1>
        <a class="green fr more" href="{% url 'org:org_coures' coures_org.id %}">查看更多 > </a>
    </div>
    <div class="brief group_list">
        {% for course in all_courses  %}
            <div class="module1_5 box">
                <a href="{% url 'course:course_details' course.id %}"><img width="214" src="{{ MEDIA_URL }}{{course.cover}}" /></a>
                <div class="des">
                    <a href="{% url 'course:course_details' course.id %}">
                        <h2>{{course.name}}</h2>
                    </a>
                    <span class="fl">课时：<i class="key">{{course.learn_times}}</i></span>
                    <span class="fr">参加人数：{{course.students}}</span>
                </div>
                <div class="bottom">
                    <span class="fl">慕课网</span>
                    <span class="star fr  notlogin" data-favid="13" data-fav-type="4">0</span>
                </div>
            </div>          
        {% endfor %}
    </div>
</div>
<div class="right companycenter layout">
    <div class="head">
        <h1>机构教师</h1>
        <a class="green fr more" href="org-detail-teachers.html">查看更多 > </a>
    </div>

    <div class="diarys">
        {% for teacher in all_teachers  %}
            <div class="module5 share company-diary-box" style="padding:10px 0;">
                <div class="left">
                    <img class="pic" src="{{ MEDIA_URL }}{{ teacher.image}}" />
                </div>
                <div class="right">
                    <div class="top">
                        <div class="fl">
                            <a href="{% url 'org:teacher_details' teacher.id %}">
                                <h1>{{teacher.name }}</h1>
                            </a>
                            <span>发表于：2015-10-12</span>
                        </div>
                    </div>
                    <div class="middle" style="border-bottom:0;">课程介绍</div>
                </div>
            </div>          
        {% endfor %}
    </div>
</div>
<div class="right companycenter layout">
    <div class="head">
        <h1>机构介绍</h1>
        <a class="green fr more" href="org-detail-desc.html">查看更多 > </a>
    </div>
    <div class="content">
        {{coures_org.desc}}
    </div>
</div>
{% endblock content %}